package com.nd.qa.shareplate.IDao;

import java.util.HashMap;
import java.util.List;

import com.nd.qa.shareplate.model.ApkInfo;

import junit.framework.Test;

public interface ApkMapper {

	/**
	 * 查询apk信息
	 * @param paramMap
	 * @return
	 */
	public List<HashMap<String, Object>> queryApkById(HashMap<String, Object> paramMap);
	/**
	 * 查询所有的apk信息
	 * @param apkInfo
	 * @return
	 */
	public List<HashMap<String, Object>> queryTotalApk(ApkInfo apkInfo);
	/**
	 * 上传apk
	 * @param apkInfo
	 */
	public void insertApkInfo(ApkInfo apkInfo);
	/**
	 * 删除apk
	 * @param apkInfo
	 */
	public void delAPKInfo(ApkInfo apkInfo);
	
	/**
	 * {@link Test}
	 * @param apkInfo
	 * @return
	 */
	public List<ApkInfo> queryApkByUserId(ApkInfo apkInfo);
	

    /**
     * 根据apkId更新apk的dentryId
     * @param apkInfo
     */
    public void updateAPKInfoDentry(HashMap<String,Object> paramMap) ;
    
    
    /**
     * 根据apkId更新apk的dentryId
     * @param apkInfo
     */
    public void updateAPKUploadStatus(HashMap<String,Object> paramMap) ;
}
